<!DOCTYPE html>
<html>
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <link href="css/detail.css" rel="stylesheet" type="text/css" />
        
        <link href="css/styles/shCore.css" rel="stylesheet" type="text/css" />
{{# night }}
        <link href="css/styles/shThemeDjango.css" rel="stylesheet" type="text/css" />
{{^}}
        <link href="css/styles/shThemeDefault.css" rel="stylesheet" type="text/css" />
{{/}}

        <script type="text/javascript" src="js/shCore.js"></script>
        <script type="text/javascript" src="js/shLegacy.js"></script>
        <script type="text/javascript" src="js/shAutoloader.js"></script>
        <script type="text/javascript" src="js/shBrushAppleScript.js"></script>
        <script type="text/javascript" src="js/shBrushAS3.js"></script>
        <script type="text/javascript" src="js/shBrushBash.js"></script>
        <script type="text/javascript" src="js/shBrushColdFusion.js"></script>
        <script type="text/javascript" src="js/shBrushCpp.js"></script>
        <script type="text/javascript" src="js/shBrushCSharp.js"></script>
        <script type="text/javascript" src="js/shBrushCss.js"></script>
        <script type="text/javascript" src="js/shBrushDelphi.js"></script>
        <script type="text/javascript" src="js/shBrushDiff.js"></script>
        <script type="text/javascript" src="js/shBrushErlang.js"></script>
        <script type="text/javascript" src="js/shBrushGroovy.js"></script>
        <script type="text/javascript" src="js/shBrushJava.js"></script>
        <script type="text/javascript" src="js/shBrushJavaFX.js"></script>
        <script type="text/javascript" src="js/shBrushJScript.js"></script>
        <script type="text/javascript" src="js/shBrushPerl.js"></script>
        <script type="text/javascript" src="js/shBrushPhp.js"></script>
        <script type="text/javascript" src="js/shBrushPlain.js"></script>
        <script type="text/javascript" src="js/shBrushPowerShell.js"></script>
        <script type="text/javascript" src="js/shBrushPython.js"></script>
        <script type="text/javascript" src="js/shBrushRuby.js"></script>
        <script type="text/javascript" src="js/shBrushSass.js"></script>
        <script type="text/javascript" src="js/shBrushScala.js"></script>
        <script type="text/javascript" src="js/shBrushSql.js"></script>
        <script type="text/javascript" src="js/shBrushVb.js"></script>
        <script type="text/javascript" src="js/shBrushXml.js"></script>
    </head>
    
    <body {{# night }}class="night"{{/}}>
        {{$ body }}
        {{/}}

        <script type="text/javascript">
            window.alert = function() {};

            SyntaxHighlighter.all()

            var img_list = document.getElementsByTagName("img");

            for (var i = 0; i < img_list.length; i++) {
                var img = img_list[i];

                if (img.alt.length) {continue;}

                var wrapper = document.createElement("a");
                wrapper.href = img.src;
                wrapper.appendChild(img.parentNode.replaceChild(wrapper, img));
            }
        </script>
    </body>
</html>